.class Lcom/estrongs/android/pop/app/cleaner/d$a;
.super Ljava/lang/Object;
.source "ScanController.java"

# interfaces
.implements Lcom/google/android/material/appbar/AppBarLayout$OnOffsetChangedListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/pop/app/cleaner/d;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/cleaner/d;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/cleaner/d;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/cleaner/d$a;->a:Lcom/estrongs/android/pop/app/cleaner/d;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onOffsetChanged(Lcom/google/android/material/appbar/AppBarLayout;I)V
    .locals 1

    if-nez p2, :cond_1

    .line 1
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string p2, " click "

    invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    const-string p2, "offset"

    invoke-static {p2, p1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/cleaner/d$a;->a:Lcom/estrongs/android/pop/app/cleaner/d;

    iget-object p2, p1, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/cleaner/d;->a(Lcom/estrongs/android/pop/app/cleaner/d;)Lcom/google/android/material/appbar/AppBarLayout$OnOffsetChangedListener;

    move-result-object p1

    invoke-virtual {p2, p1}, Lcom/estrongs/android/view/q;->b(Lcom/google/android/material/appbar/AppBarLayout$OnOffsetChangedListener;)V

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/pop/app/cleaner/d$a;->a:Lcom/estrongs/android/pop/app/cleaner/d;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/cleaner/d;->b(Lcom/estrongs/android/pop/app/cleaner/d;)Lcom/estrongs/android/pop/app/cleaner/ScanResultAdapter;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/cleaner/ScanResultAdapter;->b()Ljava/util/List;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 4
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p2

    if-lez p2, :cond_0

    .line 5
    iget-object p2, p0, Lcom/estrongs/android/pop/app/cleaner/d$a;->a:Lcom/estrongs/android/pop/app/cleaner/d;

    invoke-static {p2}, Lcom/estrongs/android/pop/app/cleaner/d;->d(Lcom/estrongs/android/pop/app/cleaner/d;)Landroidx/recyclerview/widget/RecyclerView;

    move-result-object p2

    iget-object v0, p0, Lcom/estrongs/android/pop/app/cleaner/d$a;->a:Lcom/estrongs/android/pop/app/cleaner/d;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/cleaner/d;->c(Lcom/estrongs/android/pop/app/cleaner/d;)Lcom/estrongs/android/pop/app/cleaner/CleanAdapter;

    move-result-object v0

    invoke-virtual {p2, v0}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    .line 6
    iget-object p2, p0, Lcom/estrongs/android/pop/app/cleaner/d$a;->a:Lcom/estrongs/android/pop/app/cleaner/d;

    invoke-static {p2}, Lcom/estrongs/android/pop/app/cleaner/d;->c(Lcom/estrongs/android/pop/app/cleaner/d;)Lcom/estrongs/android/pop/app/cleaner/CleanAdapter;

    move-result-object p2

    invoke-virtual {p2, p1}, Lcom/estrongs/android/pop/app/cleaner/CleanAdapter;->a(Ljava/util/List;)V

    .line 7
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/cleaner/d$a;->a:Lcom/estrongs/android/pop/app/cleaner/d;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/cleaner/a;->b:Lcom/estrongs/android/view/q;

    invoke-virtual {p1}, Lcom/estrongs/android/view/q;->U0()V

    :cond_1
    return-void
.end method
